        <div class="yz-login-form">
<?

if ($var_loginFailure) {
    ?>
        <div class="yz-error yz-message">
            <div class="yz-error-message"><?= $this->translate('Login Failed')?></div>
            <div class="yz-error-description"><?=
                $this->translate('Please check that you type the account name and password correctly.')
            ?></div>
        </div>
    <?
} else if ($var_captchaFailure) {
    ?>
        <div class="yz-error yz-message">
            <div class="yz-error-message"><?= $this->translate('Wrong CAPTCHA Code')?></div>
            <div class="yz-error-description"><?=
                $this->translate('Please check that you enter the correct numbers from the image.')
            ?></div>
        </div>
    <?
} else {
    ?>
        <h3><?= $this->translate('Login Required')?></h3>
    <?
}
?>
            <form name="Login" method="POST" action="<?=$var_webPrefix?>users/login/?path=<?=urlencode($var_fromURL)?>">
                <input type="hidden" name="fromURL" value="<?=urlencode($var_fromURL)?>" />
                <div class="yz-form-element">
                    <div class="yz-form-element-label">
                        <label><?= $this->translate('Account:')?></label>
                        <input type="text" name="login" />
                    </div>
                </div>
                <div class="yz-form-element">
                    <div class="yz-form-element-label">
                        <label><?= $this->translate('Password:')?></label>
                        <input type="password" name="password" />
                    </div>
                </div>
                <? if ($var_captchaEnabled) { ?>
                <div class="yz-form-element">
                    <div class="yz-form-element-label">
                    <?= $this->renderTemplate('captcha')?>
                    </div>
                </div>
                <? } ?>
                <input type="submit" value="<?= $this->translate('Log In')?>" />
            </form>
        </div>
